sunxi: change GIC address on H6
authorIcenowy Zheng <[email protected]>
Sat, 21 Jul 2018 08:20:25 +0000 (16:20 +0800)
committerJagan Teki <[email protected]>
Tue, 31 Jul 2018 06:08:13 +0000 (11:38 +0530)
As the Allwinner H6 chip has a new memory map, its GIC MMIO address is
thus different.

Change the address on H6.

Signed-off-by: Icenowy Zheng <[email protected]>
Reviewed-by: Andre Przywara <[email protected]>
Acked-by: Maxime Ripard <[email protected]>
Reviewed-by: Jagan Teki <[email protected]>
Tested-by: Jagan Teki <[email protected]>
include/configs/sun50i.h

index 5ce2cde388cb9558333f20e90b15a57a876d3a2b..e029218cf8aed7dff54725192303c8e64beec53e 100644 (file)
 
 #define CONFIG_SUNXI_USB_PHYS  1
 
+#ifndef CONFIG_MACH_SUN50I_H6
 #define GICD_BASE              0x1c81000
 #define GICC_BASE              0x1c82000
+#else
+#define GICD_BASE              0x3021000
+#define GICC_BASE              0x3022000
+#endif
 
 /*
  * Include common sunxi configuration where most the settings are